package com.erp.erp_entitys.money.rsp;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @ClassName : SplitInfoRsp
 * @Description : 获取拆分主表信息出参实体
 * @Author : lst
 * @Date: 2020-12-16 11:47
 */
public class SplitInfoRsp implements Serializable {
    private static final long serialVersionUID = -8022841376409374618L;


    /**
     * 主键id
     */
    private Integer id;

    /**
     * 收款编号
     */
    private String billNo;

    /**
     * 收款日期
     */
    private Date time;

    /**
     * 客户名称
     */
    private String customerName;

    /**
     * 币种
     */
    private String currency;

    /**
     * 人民币汇率
     */
    private BigDecimal rmbRate;

    /**
     * 美金汇率
     */
    private BigDecimal usdRate;

    /**
     * 入账金额
     */
    private BigDecimal entryAmount;

    /**
     * 银行扣费(外)
     */
    private BigDecimal bankDeductionExcept;

    /**
     * 银行扣费(本)
     */
    private BigDecimal bankDeductionCapital;

    /**
     * 收汇金额
     */
    private BigDecimal collectionAmount;

    /**
     * 已认领
     */
    private BigDecimal claimed;

    /**
     * 已拆分金额
     */
    private BigDecimal splitCompletedAmount;

    /**
     * 未拆分金额
     */
    private BigDecimal undividedAmount;

    /**
     * 备注
     */
    private String memo;


    /**
     * 明细数据集合
     */
    private List<SplitDetailInfoRsp> detailList;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCurrency() {
        return currency;
    }

    public void setCurrency(String currency) {
        this.currency = currency;
    }

    public BigDecimal getRmbRate() {
        return rmbRate;
    }

    public void setRmbRate(BigDecimal rmbRate) {
        this.rmbRate = rmbRate;
    }

    public BigDecimal getUsdRate() {
        return usdRate;
    }

    public void setUsdRate(BigDecimal usdRate) {
        this.usdRate = usdRate;
    }

    public BigDecimal getEntryAmount() {
        return entryAmount;
    }

    public void setEntryAmount(BigDecimal entryAmount) {
        this.entryAmount = entryAmount;
    }

    public BigDecimal getBankDeductionExcept() {
        return bankDeductionExcept;
    }

    public void setBankDeductionExcept(BigDecimal bankDeductionExcept) {
        this.bankDeductionExcept = bankDeductionExcept;
    }

    public BigDecimal getBankDeductionCapital() {
        return bankDeductionCapital;
    }

    public void setBankDeductionCapital(BigDecimal bankDeductionCapital) {
        this.bankDeductionCapital = bankDeductionCapital;
    }

    public BigDecimal getCollectionAmount() {
        return collectionAmount;
    }

    public void setCollectionAmount(BigDecimal collectionAmount) {
        this.collectionAmount = collectionAmount;
    }

    public BigDecimal getClaimed() {
        return claimed;
    }

    public void setClaimed(BigDecimal claimed) {
        this.claimed = claimed;
    }

    public BigDecimal getSplitCompletedAmount() {
        return splitCompletedAmount;
    }

    public void setSplitCompletedAmount(BigDecimal splitCompletedAmount) {
        this.splitCompletedAmount = splitCompletedAmount;
    }

    public BigDecimal getUndividedAmount() {
        return undividedAmount;
    }

    public void setUndividedAmount(BigDecimal undividedAmount) {
        this.undividedAmount = undividedAmount;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public List<SplitDetailInfoRsp> getDetailList() {
        return detailList;
    }

    public void setDetailList(List<SplitDetailInfoRsp> detailList) {
        this.detailList = detailList;
    }


    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("SplitInfoVo").append('[')
                .append("id=")
                .append(id)
                .append(",billNo=")
                .append(billNo)
                .append(",time=")
                .append(time)
                .append(",customerName=")
                .append(customerName)
                .append(",currency=")
                .append(currency)
                .append(",rmbRate=")
                .append(rmbRate)
                .append(",usdRate=")
                .append(usdRate)
                .append(",entryAmount=")
                .append(entryAmount)
                .append(",bankDeductionExcept=")
                .append(bankDeductionExcept)
                .append(",bankDeductionCapital=")
                .append(bankDeductionCapital)
                .append(",collectionAmount=")
                .append(collectionAmount)
                .append(",claimed=")
                .append(claimed)
                .append(",splitCompletedAmount=")
                .append(splitCompletedAmount)
                .append(",undividedAmount=")
                .append(undividedAmount)
                .append(",memo=")
                .append(memo)
                .append(",detailList=")
                .append(detailList)
                .append(']');
        return sb.toString();
    }
}
